﻿namespace Future.Common.Models
{
    /// <summary>
    /// 描述：分页返回模型
    /// 创建人： yangkai
    /// 创建时间：2022/11/22 17:15:17
    /// </summary>
    public class PageModel<T>
    {
        public PageModel() { }
        public PageModel(List<T> data, int total)
        {
            Data = data;
            Total = total;
        }
        /// <summary>
        /// 总条数
        /// </summary>
        public int Total { get; set; }

        /// <summary>
        /// 数据
        /// </summary>
        public List<T> Data { get; set; } = default!;
    }


}
